/**
 * create by young (young2f@outlook.com) on 2023/5/1
 */
'use strict';
module.exports = app => {
    const {router, controller} = app;
    router.post('/api/organization/devices/find', controller.organization.findDevices);
    router.post('/api/organization/meters/find', controller.organization.findMeters);
    router.post('/api/organization/device/bind', controller.organization.bindDevice);
    router.post('/api/organization/meter/bind', controller.organization.bindMeter);
    router.post('/api/organization/device/unbind', controller.organization.unbindDevice);
    router.post('/api/organization/meter/unbind', controller.organization.unbindMeter);

};
